package com.example.myshopping3.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("tbl_car")
public class Car implements Serializable {
    @TableId(value = "car_id",type = IdType.ASSIGN_ID)
    private Long carId;
    private String bookId;
    private Integer carCount;
    private String userId;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;
    private Integer isDeleted;
}
